﻿
<script src="~/Scripts/angular/base/angular.min.js" type="text/javascript"></script>
    <!--[if (IE 6)|(IE 7)]><script type="text/javascript" src="~/Scripts/angular/base/json2.js"></script><![endif]-->
    <script src="~/Scripts/angular/js/login.js" type="text/javascript"></script>
    <script src="~/Scripts/angular/base/angular.autoload.js" type="text/javascript"></script>

<div class="form1">
	<form name="form"  on-submit="submit()" onsubmit="return false;" ng-controller="LoginCtrl" ng-init="load({
            name:{msg:'由6~16位位字母或数字组成,不区分大小写', pattern: '帐号格式错误!!',error:'账号长度为6-16位字符',success:true},
            password:{msg:'密码长度应为6-14个字符',pattern: '密码格式错误!!',error:'密码长度应为6-14个字符',success:true},
            verifyvalue: { msg:'请输入图片显示的数字或字母',error: '请正确填写验证码',success:true},
            submit:{error:'系统异常，请联系我们',verifycode:'验证码错误',account:'对不起，您输入的账号或密码有误',identity:'服务器繁忙，请稍后再试'}
        });
        submit.url='/account/login/r/Default'; 
        redirect.url='/order/querypage';
        ">
        <table class="tab1" width="720">
            <tr>
                <td width="115"><span class="txtr">账号名 ：<strong class="orange">*&nbsp;</strong></span></td>
                <td width="270">
                <input class="text270" type="text" name="name" maxlength="16"  ng-model="name.value" ng-pattern="/^[a-zA-Z0-9]*$/" ng-minlength="6" ng-maxlength="16" required/>
                </td>
                <td><a href="#">注册账号</a></td>
            </tr>
            <tr>
                <td width="115"><span class="txtr">密码 ：<strong class="orange">*&nbsp;</strong></span></td>
                <td width="270">
                <input class="text270" type="password" maxlength="14" name="password" ng-model="password.value" ng-pattern="password.pattern" ng-minlength="6" ng-maxlength="16" required/>
                </td>
                <td><a href="#">找回密码</a></td>
            </tr>
            <tr>
                <td width="115"><span class="txtr">验证码 ：<strong class="orange">*&nbsp;</strong></span></td>
                <td width="270">
                <input class="text70" type="text" maxlength="4" name="verifyvalue"  ng-model="verifyvalue.value" ng-pattern="verifyvalue.pattern" ng-minlength="4" ng-maxlength="4" required/>
                <img ng-src="{{verifycode.value}}" ng-click="verifycode.newdefault()"/></label>
		        <a ng-click="verifycode.newdefault()" class="fresh">看不清楚，换一张</a>
                <td></td>
            </tr>
            <tr>
                <td width="115"></td>
                <td  colspan="2">
		            <span class="error" ng-show="name.error" style="display:none">{{name.error}}</span>
                    <span class="error" ng-show="password.error" style="display:none">{{password.error}}</span>
                    <span class="error" ng-show="verifyvalue.error" style="display:none">{{verifyvalue.error}}</span>
                    <span class="error" style="display:none" ng-show="submit.error">{{submit.error}}</span>
                </td>
            </tr>
            <tr>
                <td width="115"></td>
                <td width="270"><input type="submit" value="" class="pay_login" /></td>
                <td></td>
            </tr>
        </table>

		<div class="clear"></div>
        
	
	
	</form>
</div>